from django.conf.urls.defaults import patterns, include, url

# Uncomment the next two lines to enable the admin:
# django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('contestar.views',
    (r'^$', 'index'),
    (r'^/fincuestionario/$', 'fin'),
    #(r'^(?P<sesion_id>\d+)/$', 'index'),
    (r'^(?P<cuestionario_id>\d+)/(?P<nro_pregunta>\d+)/$', 'preguntas'),
    (r'^iniciar_cuestionario/(?P<cuestionario_id>\d+)/$', 'inicio_secion'),
    (r'^(?P<cuestionario_id>\d+)/eleccion/$', 'eleccion'),
    
)

# urlpatterns += patterns('',
    # (r'^admin/', include(admin.site.urls)),
# )
